package com.aps.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author liaoguangan
 * @description <>
 * @date 2018/4/6 9:31
 */

@Data
public class ExceptionEntity implements Serializable {

    //是否异常
    private Boolean exception = false;
    //异常消息
    private String message = "";
    //具体操作
    private String operation;
    //具体异常
    private String exceptionDetail;
    //方法名
    private String method;
    //具体类
    private String clazz;

    public ExceptionEntity() {
    }

    public ExceptionEntity(Boolean exception, String message, String operation,
            String exceptionDetail, String method, String clazz) {
        this.exception = exception;
        this.operation = operation;
        this.exceptionDetail = exceptionDetail;
        this.method = method;
        this.clazz = clazz;
        this.message = message;
    }

}
